package org.soaism.testserver.service.entities;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "car")
public class Car {
	private long idnr;
	private int km;
	private String name;
	private String number;
	private Journey ways;

	@XmlElement
	public void setIdnr(long idnr) {
		this.idnr = idnr;
	}

	public long getIdnr() {
		return idnr;
	}

	@XmlElement
	public int getKm() {
		return this.km;
	}

	public void setKm(int km) {
		this.km = km;
	}

	@XmlElement
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@XmlElement
	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	@XmlElement
	public Journey getWays() {
		return this.ways;
	}

	public void setWays(Journey ways) {
		this.ways = ways;
	}

}
